<?php
/**
 * 文章与栏目关联模型
 */
class ArticleModel extends ViewModel{
	public $view = array(
		'category'	=> array(
			'type'	=> 'inner',
			'on'	=> 'article.cid=category.cid',
			),

		);
}